<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model frontend\models\User_details */
/* @var $form ActiveForm */
?>

<h1>用户注册</h1>
<div class="main-agileits">
<!--form-stars-here-->
		<div class="form-w3-agile">
		<h2 class="sub-agileits-w3layouts">用户注册</h2>
		<?php $form = ActiveForm::begin(['action'=>'index.php?w=login/add_user']); ?>
	        <input type="text" name="User_details[email]" placeholder="邮箱(登录账号)" required="required" />
	        <input type="text" name="User_details[phone]" placeholder="手机号(必填)" required="" />
	        
	        <input type="text" name="User_details[name]" placeholder="真实姓名" required="" />
	    	<input type="password" name="User_details[pwd]" placeholder="密码" required="" />
	    	<input type="password" name="User_details[repwd]" placeholder="重复密码" required="" />
	        <div class="submit-w3l">
				<input type="submit" value="注册">
			</div>
    	<?php ActiveForm::end(); ?>
		</div>
</div>
